<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>
<body>
  <script>
    // AND
    var num = 25 & 25;
    console.log(num);

    // XOR
    var or = 25 | 5;
    var xor = 25 ^ 5;
    console.log(or, xor);
  </script>
</body>
</html>